<!-- /Users/jojoqu/Desktop/retake/src/views/quziyi.vue -->
<template>
  <div>
    <!-- Header/Navigation -->
    <header id="top" :class="{ scrolled: isScrolled }">
      <div class="nav-container">
        <img
          src="https://via.placeholder.com/200x60.png?text=CampusLife+Logo"
          alt="CampusLife Logo"
          id="logo"
        />
        <div class="menu-toggle" @click="toggleMenu">
          <i :class="menuOpen ? 'fas fa-times' : 'fas fa-bars'"></i>
        </div>
        <ul :class="{ active: menuOpen }">
          <li>
            <a href="#" @click.prevent="scrollToSection('banner')"
              ><i class="fas fa-home"></i> HOME</a
            >
          </li>
          <li>
            <a href="#aboutupper" @click.prevent="scrollToSection('aboutupper')"
              ><i class="fas fa-info-circle"></i> ABOUT</a
            >
          </li>
          <li>
            <a href="#gallery" @click.prevent="scrollToSection('gallery')"
              ><i class="fas fa-images"></i> GALLERY</a
            >
          </li>
          <li>
            <a href="#" @click.prevent
              ><i class="fas fa-chalkboard-teacher"></i> FACULTY</a
            >
          </li>
          <li>
            <a href="#" @click.prevent
              ><i class="fas fa-calendar-alt"></i> EVENTS</a
            >
          </li>
          <li>
            <a href="#footer" @click.prevent="scrollToSection('footer')"
              ><i class="fas fa-envelope"></i> CONTACT</a
            >
          </li>
        </ul>
      </div>
    </header>

    <!-- Banner Section with Form -->
    <section id="banner">
      <img
        src="https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1800&q=80"
        alt="Campus Banner"
        id="banner3"
      />
      <form @submit.prevent="submitForm" id="form">
        <h2>Join Our Community</h2>
        <input
          type="text"
          v-model="formData.name"
          placeholder="Your Name"
          required
        />
        <input
          type="tel"
          v-model="formData.phone"
          placeholder="Your Phone"
          required
        />
        <input
          type="email"
          v-model="formData.email"
          placeholder="Your Email"
          required
        />
        <textarea
          v-model="formData.comment"
          placeholder="Write Your Comment"
          rows="5"
          required
        ></textarea>
        <button type="submit" :disabled="formSubmitting">
          {{ formSubmitting ? "SENDING..." : "SEND MESSAGE" }}
        </button>
      </form>
    </section>

    <!-- About Section - Upper -->
    <section id="aboutupper" class="container">
      <div class="section-title">
        <h1>ABOUT US</h1>
        <div class="line"></div>
      </div>
      <p>
        Welcome to CampusLife, where we create an environment that fosters
        academic excellence, personal growth, and lifelong learning. Our
        institution has been a pillar of education since 1985, providing
        students with the tools and opportunities to succeed in an ever-changing
        world. We believe in holistic development that combines rigorous
        academics with enriching extracurricular experiences.
      </p>
    </section>

    <!-- About Section - Middle -->
    <section id="aboutmiddle" class="container">
      <div class="about-content">
        <div class="about-text">
          <h1>A WORD ABOUT US</h1>
          <div class="text-container">
            <p>
              At CampusLife, we believe in nurturing the whole person. Our
              dedicated faculty and staff provide personalized attention to each
              student, creating a supportive community where innovation and
              critical thinking thrive. We're committed to excellence in
              education, research, and community engagement, preparing students
              to become leaders in their chosen fields.
            </p>
            <button @click="scrollToSection('gallery')">EXPLORE CAMPUS</button>
          </div>
        </div>
        <div class="about-image">
          <img
            src="https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1800&q=80"
            alt="Campus Building"
          />
        </div>
      </div>

      <div class="about-stats">
        <div class="stat" v-for="stat in stats" :key="stat.title">
          <h1>{{ stat.value }}</h1>
          <div class="line"></div>
          <p>{{ stat.title }}</p>
        </div>
      </div>
    </section>

    <!-- About Section - Lower -->
    <section id="aboutlower" class="container">
      <div
        class="feature-card"
        v-for="feature in features"
        :key="feature.title"
      >
        <img :src="feature.image" :alt="feature.title" />
        <div class="introduction">
          <h1>{{ feature.title }}</h1>
          <h2>{{ feature.subtitle }}</h2>
          <p>{{ feature.description }}</p>
          <button>EXPLORE</button>
        </div>
      </div>
    </section>

    <!-- Gallery Section -->
    <section id="gallery" class="container">
      <div class="section-title">
        <h1>CAMPUS GALLERY</h1>
        <div class="line"></div>
        <p>
          Explore our vibrant campus life through these glimpses of our
          state-of-the-art facilities and student activities
        </p>
      </div>

      <div class="gallery-container">
        <div class="photo" v-for="photo in photos" :key="photo.caption">
          <img :src="photo.image" :alt="photo.caption" />
          <div class="word">
            <p>{{ photo.caption }}</p>
          </div>
        </div>
      </div>
    </section>

    <!-- Footer -->
    <footer id="footer">
      <div class="container">
        <div class="footer-content">
          <div class="footer-section">
            <h3>Contact Us</h3>
            <ul class="contact-info">
              <li>
                <i class="fas fa-map-marker-alt"></i> 123 Education Street,
                Campus City, CC 54321
              </li>
              <li><i class="fas fa-phone"></i> +1 (555) 123-4567</li>
              <li><i class="fas fa-envelope"></i> info@campuslife.edu</li>
              <li>
                <i class="fas fa-clock"></i> Monday-Friday: 8:00 AM - 6:00 PM
              </li>
            </ul>
          </div>

          <div class="footer-section">
            <h3>Quick Links</h3>
            <ul class="footer-links">
              <li>
                <a href="#" @click.prevent="scrollToSection('banner')">Home</a>
              </li>
              <li>
                <a
                  href="#aboutupper"
                  @click.prevent="scrollToSection('aboutupper')"
                  >About Us</a
                >
              </li>
              <li>
                <a href="#gallery" @click.prevent="scrollToSection('gallery')"
                  >Campus Gallery</a
                >
              </li>
              <li><a href="#" @click.prevent>Academic Programs</a></li>
              <li><a href="#" @click.prevent>Admissions</a></li>
              <li><a href="#" @click.prevent>Student Resources</a></li>
            </ul>
          </div>

          <div class="footer-section">
            <h3>Connect With Us</h3>
            <p>
              Stay updated with campus news, events, and announcements through
              our social media channels.
            </p>
            <div class="social-links">
              <a href="#"><i class="fab fa-facebook-f"></i></a>
              <a href="#"><i class="fab fa-twitter"></i></a>
              <a href="#"><i class="fab fa-instagram"></i></a>
              <a href="#"><i class="fab fa-linkedin-in"></i></a>
              <a href="#"><i class="fab fa-youtube"></i></a>
            </div>
          </div>
        </div>

        <div class="footer-bottom">
          <p>
            &copy; 2023 CampusLife University. All Rights Reserved. | Designed
            by [许洲阳] + [22265120207]
          </p>
        </div>
      </div>
    </footer>
  </div>
</template>

<script>
export default {
  name: "QuziyiView",
  data() {
    return {
      isScrolled: false,
      menuOpen: false,
      formSubmitting: false,
      formData: {
        name: "",
        phone: "",
        email: "",
        comment: "",
      },
      stats: [
        { value: "70,000+", title: "Students" },
        { value: "600+", title: "Faculty Members" },
        { value: "120+", title: "Programs Offered" },
        { value: "95%", title: "Graduation Rate" },
      ],
      features: [
        {
          title: "Library",
          subtitle: "Knowledge Hub of the Campus",
          description:
            "Our state-of-the-art library houses over 500,000 volumes, digital resources, and specialized collections. With 24/7 access, collaborative study spaces, and expert librarians, it's the perfect place for research and study.",
          image:
            "https://images.unsplash.com/photo-1495745966610-2a67f2297e5e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          title: "Computer Lab",
          subtitle: "Technology for Tomorrow",
          description:
            "Our cutting-edge computer labs feature the latest hardware and software. With high-speed internet, specialized workstations, and expert technical support, students have access to everything they need for digital innovation.",
          image:
            "https://images.unsplash.com/photo-1592424002053-21f369ad7fdb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          title: "Conference Hall",
          subtitle: "Where Ideas Converge",
          description:
            "Our modern conference facilities host academic symposiums, guest lectures, and industry events. Equipped with advanced audiovisual technology and comfortable seating for 500, it's the ideal venue for intellectual exchange.",
          image:
            "https://images.unsplash.com/photo-1573164713988-8665fc963095?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          title: "Play Ground",
          subtitle: "Fitness and Recreation",
          description:
            "Our expansive sports complex features Olympic-standard facilities, including a track field, tennis courts, swimming pool, and indoor gymnasium. We promote physical wellness as an essential part of student development.",
          image:
            "https://images.unsplash.com/photo-1549060279-7e168fce7090?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
      ],
      photos: [
        {
          caption: "SCIENCE LAB",
          image:
            "https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          caption: "INDOOR STADIUM",
          image:
            "https://images.unsplash.com/photo-1517649763962-0c623066013b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          caption: "TRANSPORTATION",
          image:
            "https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          caption: "KIDS ROOM",
          image:
            "https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          caption: "MEDITATION CLASSES",
          image:
            "https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
        {
          caption: "KIDS PLAY GROUND",
          image:
            "https://images.unsplash.com/photo-1541746972996-4e0b0f43e02a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
        },
      ],
    };
  },
  mounted() {
    window.addEventListener("scroll", this.handleScroll);
    this.handleScroll();

    // 动画效果
    const observer = new IntersectionObserver(
      (entries) => {
        entries.forEach((entry) => {
          if (entry.isIntersecting) {
            entry.target.classList.add("animated");
          }
        });
      },
      { threshold: 0.1 }
    );

    document.querySelectorAll(".stat, .feature-card, .photo").forEach((el) => {
      el.style.opacity = "0";
      el.style.transform = "translateY(30px)";
      el.style.transition = "opacity 0.6s ease, transform 0.6s ease";
      observer.observe(el);
    });
  },
  beforeUnmount() {
    window.removeEventListener("scroll", this.handleScroll);
  },
  methods: {
    handleScroll() {
      this.isScrolled = window.scrollY > 50;
    },
    toggleMenu() {
      this.menuOpen = !this.menuOpen;
    },
    scrollToSection(sectionId) {
      if (this.menuOpen) {
        this.menuOpen = false;
      }

      const element = document.getElementById(sectionId);
      if (element) {
        window.scrollTo({
          top: element.offsetTop - 80,
          behavior: "smooth",
        });
      }
    },
    submitForm() {
      this.formSubmitting = true;

      // 模拟表单提交
      setTimeout(() => {
        this.formSubmitting = false;

        // 显示成功消息
        const button = this.$el.querySelector("#form button");
        const originalText = button.textContent;
        button.innerHTML = '<i class="fas fa-check"></i> MESSAGE SENT!';
        button.style.background = "green";

        // 重置表单
        this.formData = {
          name: "",
          phone: "",
          email: "",
          comment: "",
        };

        // 3秒后恢复按钮状态
        setTimeout(() => {
          button.textContent = originalText;
          button.style.background = "";
        }, 3000);
      }, 1500);
    },
  },
};
</script>

<style scoped>
/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-color: #ff69b4; /* 粉色主题 */
  --secondary-color: #ff1493; /* 深粉色 */
  --accent-color: #ff85c2; /* 浅粉色 */
  --dark-color: #333;
  --light-color: #f8f9fa;
  --text-color: #444;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  background: linear-gradient(135deg, #fff8fb 0%, #ffffff 100%);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--dark-color);
  color: white;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn:hover {
  background: white;
  border: 2px solid var(--dark-color);
  color: var(--dark-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h1 {
  font-size: 2.8rem;
  color: var(--dark-color);
  margin-bottom: 20px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.line {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 0 auto 30px;
  border-radius: 2px;
}

/* ===== HEADER ===== */
#top {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  height: 90px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#top.scrolled {
  height: 70px;
  background: rgba(255, 105, 180, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 40px;
}

#logo {
  height: 60px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#top.scrolled #logo {
  height: 45px;
}

#top ul {
  display: flex;
  list-style: none;
}

#top ul li {
  margin: 0 10px;
}

#top ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
}

#top ul li a i {
  margin-right: 8px;
}

#top ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: white;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
  border-radius: 2px;
}

#top ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

#top ul li a:hover:after {
  width: 70%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 5px 10px;
}

/* ===== BANNER ===== */
#banner {
  position: relative;
  margin-top: 90px;
  height: 90vh;
  overflow: hidden;
}

#banner3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

#form {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    rgba(255, 105, 180, 0.85) 0%,
    rgba(255, 20, 147, 0.85) 100%
  );
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  backdrop-filter: blur(5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translate(-50%, -52%);
  }
  50% {
    transform: translate(-50%, -48%);
  }
  100% {
    transform: translate(-50%, -52%);
  }
}

#form h2 {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#form input,
#form textarea {
  width: 100%;
  padding: 15px 20px;
  margin: 15px 0;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#form textarea {
  height: 140px;
  resize: vertical;
  border-radius: 20px;
}

#form input:focus,
#form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
  background: white;
}

#form button {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--dark-color);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 20px;
  transition: var(--transition);
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#form button:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== ABOUT SECTION ===== */
#aboutupper {
  padding: 120px 0 70px;
  text-align: center;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 Q50,20 100,0 L100,100 L0,100 Z" fill="%23fff8fb"/></svg>')
    no-repeat bottom;
  background-size: 100% auto;
}

#aboutupper p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.8;
}

/* Middle Section */
#aboutmiddle {
  padding: 80px 0 60px;
  position: relative;
  background: white;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.about-text h1 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 25px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-container {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 105, 180, 0.2);
}

.text-container p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 70px;
}

.stat {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  width: 240px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.stat:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
}

.stat:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 800;
}

.stat .line {
  margin: 15px auto;
  width: 50px;
  height: 3px;
}

.stat p {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
}

/* Lower Section */
#aboutlower {
  padding: 80px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  background: linear-gradient(to bottom, #fff8fb 0%, #ffffff 100%);
}

.feature-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-card:hover img {
  transform: scale(1.1);
}

.introduction {
  padding: 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.introduction h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.introduction h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.introduction p {
  margin-bottom: 30px;
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.introduction button {
  align-self: center;
  margin-top: auto;
  background: var(--dark-color);
  color: white;
  font-weight: 700;
  padding: 14px 35px;
}

.introduction button:hover {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--dark-color);
}

/* ===== GALLERY ===== */
#gallery {
  padding: 120px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

#gallery:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
  opacity: 0.1;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.photo {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 350px;
}

.photo:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.photo:hover img {
  transform: scale(1.15);
}

.word {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  transition: var(--transition);
}

.photo:hover .word {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
}

.word p {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
#footer {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 70px 0 30px;
  position: relative;
}

#footer:before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,50 Q50,0 100,50 L100,100 L0,100 Z" fill="%23ff69b4"/></svg>')
    no-repeat top;
  background-size: 100% auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
}

.contact-info i {
  margin-right: 15px;
  margin-top: 5px;
  font-size: 1.2rem;
  min-width: 25px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  font-size: 1.1rem;
  padding: 5px 0;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  padding-left: 10px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1.4rem;
}

.social-links a:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-image {
    max-width: 700px;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  #top ul {
    position: fixed;
    top: 90px;
    left: -100%;
    flex-direction: column;
    background: linear-gradient(
      to bottom,
      var(--primary-color),
      var(--secondary-color)
    );
    width: 100%;
    height: calc(100vh - 90px);
    padding: 40px 0;
    transition: var(--transition);
    z-index: 999;
    align-items: center;
  }

  #top ul.active {
    left: 0;
  }

  #top ul li {
    margin: 20px 0;
    width: 80%;
    text-align: center;
  }

  #top ul li a {
    justify-content: center;
    font-size: 1.3rem;
    padding: 15px;
  }

  #banner {
    height: 80vh;
  }

  .about-stats {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  #banner {
    height: 70vh;
  }

  #form {
    padding: 30px;
  }

  .section-title h1 {
    font-size: 2.2rem;
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat {
    width: 100%;
    max-width: 300px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* Animation classes */
.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
</style>
